<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!-- 上传文件  -->
<link rel="stylesheet" type="text/css" href="plug-in/webUploader/css/webuploader.css" />
<link rel="stylesheet" type="text/css" href="plug-in/webUploader/style.css" />
<script type="text/javascript" src="plug-in/webUploader/dist/webuploader.js"></script>
<script type="text/javascript" src="plug-in/webUploader/upload.js"></script>  

<input type='hidden' name="websiteId" value="${website.id }"/>
<style>
	.prevImg{
		float:left;
		margin-top: 15px;
		margin-left:20px;
		margin-right:20px;
	}
	#filePicker2{
		display:none;
	}
</style>
<table cellpadding="0" cellspacing="1" class="formtable" style="margin-top:5px;">
	<tr>
 
		<td align="right">
			实验室图片：
		</td> 
		<td class="value" colspan="3"> 
		       <c:if test="${attach != null }">
	 		       <div class="prevImg" id="prevImg${attach.id}" data-id="${attach.id}">
			         	<img src="cms-attach.do?get&attachId=${attach.id }" style="width:300px">
			       </div>
		       </c:if>  	 
 		         		
		       <div id="wrapper" class="small">
					     <div id="container">
					            <!--头部，相册选择和格式选择-->
					
					          <div id="uploader" >
					                <div class="queueList">
					                    <div id="dndArea" class="placeholder">
					                        <div id="filePicker"></div>
					                        <p>或将照片拖到这里，单次最多可选1张</p>
					                    </div>
					                </div>
					                <div class="statusBar" style="display:none;">
					                    <div class="progress">
					                        <span class="text">0%</span>
					                        <span class="percentage"></span>
					                    </div><div class="info"></div>
					                    <div class="btns">
					                        <div id="filePicker2" ></div><div  class="uploadBtn">开始上传</div>
					                    </div>
					                </div>
					            </div>
					        </div>
   						</div>
		           </td> 
			  </tr>
 
	
</table> 